.publish-container {
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  min-height: 400px;
  
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    
    h2 {
      margin-bottom: 0;
    }
  }
  
  .search-area {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .error-message {
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
    border-radius: 4px;
    color: #ff4d4f;
    padding: 10px 15px;
    margin-bottom: 16px;
  }
  
  .ant-empty {
    margin: 32px 0;
  }
  
  // 表格行悬停效果增强
  .ant-table-tbody > tr:hover > td {
    background-color: #e6f7ff;
  }
  
  // 为卡片添加一些额外样式
  .ant-card {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  
  // 紧凑型按钮样式
  .ant-btn {
    &.ant-btn-sm {
      font-size: 12px;
    }
  }
  
  // 操作列文字溢出处理
  .action-column {
    white-space: nowrap;
  }
  
  // 表格滚动样式
  .news-publish-table {
    .ant-table {
      .ant-table-content {
        overflow-x: auto;
        
        &::-webkit-scrollbar {
          width: 5px;
          height: 5px;
        }
        
        &::-webkit-scrollbar-track {
          background: #f5f5f5;
          border-radius: 3px;
        }
        
        &::-webkit-scrollbar-thumb {
          background: #1890ff;
          border-radius: 3px;
          
          &:hover {
            background: #096dd9;
          }
        }
      }
    }
  }
}

/* 强制设置表格滚动条样式 */
.ant-table-wrapper .ant-table-body::-webkit-scrollbar,
.ant-table-wrapper .ant-table-body::-webkit-scrollbar {
  width: 5px !important;
  height: 5px !important;
}

.ant-table-wrapper .ant-table-body::-webkit-scrollbar-track,
.ant-table-wrapper .ant-table-body::-webkit-scrollbar-track {
  background: #f5f5f5 !important;
  border-radius: 3px !important;
}

.ant-table-wrapper .ant-table-body::-webkit-scrollbar-thumb,
.ant-table-wrapper .ant-table-body::-webkit-scrollbar-thumb {
  background: #1890ff !important;
  border-radius: 3px !important;
}

.ant-table-wrapper .ant-table-body::-webkit-scrollbar-thumb:hover,
.ant-table-wrapper .ant-table-body::-webkit-scrollbar-thumb:hover {
  background: #096dd9 !important;
}

/* 确保滚动区域可见 */
.ant-table-wrapper .ant-table-body {
  overflow-x: auto !important;
  overflow-y: auto !important;
}

/* 表格样式增强 */
.ant-table {
  border-radius: 8px;
  overflow: hidden;
  
  .ant-table-container {
    border-radius: 8px;
    overflow: hidden;
  }
  
  .ant-table-content {
    overflow: auto;
  }
}

/* 按钮增强 */
.ant-btn-sm {
  font-size: 12px;
  height: 24px;
  padding: 0px 7px;
  
  &.ant-btn-primary {
    background-color: #1890ff;
    
    &:hover {
      background-color: #40a9ff;
    }
  }
  
  &.ant-btn-dangerous {
    color: #ff4d4f;
    border-color: #ff4d4f;
    
    &.ant-btn-primary {
      background-color: #ff4d4f;
      border-color: #ff4d4f;
      color: white;
      
      &:hover {
        background-color: #ff7875;
        border-color: #ff7875;
      }
    }
  }
}

// 继承错误消息样式
.error-message {
  padding: 20px;
  text-align: center;
  color: #f5222d;
  background-color: #fff1f0;
  border: 1px solid #ffccc7;
  border-radius: 4px;
  margin: 20px;
  font-size: 16px;
} 